package com.zyf.chapter02.structure.decorator.eureka;

/**
 * 目前没啥用
 * @author yifeng
 */
public class ServerHttpClients {
    public TransportClientFactory createFactory() {
        return new TransportClientFactory() {
            @Override
            public HttpClient newClient() {
                return new RedirectingHttpClient(new RestTemplateTransportClientFactory());
            }
        };
    }
}
